package org.mybatis.study.model;

/**
 * @author fangyu
 * @version v1.0.0
 * @date 2020/9/20 1:51 上午
 */
public class Country {
    private Long id;
    private String countryName;
    private String countryCode;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCountryName() {
        return countryName;
    }

    public void setCountryName(String countryName) {
        this.countryName = countryName;
    }

    public String getCountryCode() {
        return countryCode;
    }

    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }

    @Override
    public String toString() {
        return "{\"Country\":{"
                + "                        \"id\":\"" + id + "\""
                + ",                         \"countryName\":\"" + countryName + "\""
                + ",                         \"countryCode\":\"" + countryCode + "\""
                + "}}";
    }
}
